<template>
  <div id="content">
    <!-- 左图片 -->
    <div id="left">
      <div class="bg">
        <div id="play">
          <img src="../../static/播放.png" alt="" class="play" />
        </div>
        <img src="../../static/狗1-removebg-preview.png" class="dog" alt="" />
      </div>
    </div>
    <!-- 中间文字 -->
    <div id="center">
      <p class="top">How can we help</p>
      <p class="bottom">While you are on vacation or</p>
      <p class="bottom">at work can be stressful.</p>
    </div>
    <!-- 右图片 -->
    <div id="right">
      <img src="../../static/cat_dog.png" alt="" />
    </div>
  </div>
</template>

<script>
export default {};
</script>

<style scoped>
.box {
  flex: 1 1 350px;
}
#content {
  height: 100%;
  width: 80%;
  display: flex;
  margin: 0 auto;
  justify-content: space-between;
  border-top: 3px solid #faf1e5;
  padding-top: 50px;
  flex-wrap: wrap;
}
/* 左边 */
#left {
  /* background-color: red; */
}
.bg {
  background-color: #fec140;
  width: 200px;
  height: 160px;
  border-radius: 75px;
}
.bg .dog {
  width: 172px;
  position: relative;
  bottom: 46px;
}
#play {
  background-color: #ffffff;
  width: 60px;
  height: 60px;
  border-radius: 100%;
  float: right;
  display: flex;
  justify-content: center;
  align-items: center;
}
#left .play {
  width: 37%;
  border-radius: 100%;
  align-items: center;
}
/* 中间 */
#center {
  /* background: red; */
  text-align: center;
  line-height: 10px;
}
.top {
  font-size: 20px;
  letter-spacing: 5px;
  padding: 10px;
  color: #6f708c;
}
.bottom {
  font-weight: 700;
  color: #000958;
  font-size: 36px;
}
/* 右边 */
#right img {
  width: 270px;
}
@media screen and (min-width: 320px) and (max-width: 768px) {
  #content {
    margin: auto;
    justify-content: center;
    align-items: center;
  }
  .top {
    font-size: 14px;
    letter-spacing: 5px;
    padding: 20px;
  }
  .bottom {
    font-size: 28px;
  }
}
@media screen and (min-width: 768px) and (max-width: 1440px) {
  .top {
    font-size: 22px;
    /* letter-spacing: 5px; */
    padding: 10px;
  }
  .bottom {
    font-size: 32px;
  }
  #content {
    justify-content: space-between;
    align-items: center;
  }
  #right img {
    width: 260px;
  }
  .bg {
    width: 200px;
    height: 160px;
  }
  .bg .dog {
    width: 160px;
  }
  #play {
    width: 60px;
    height: 60px;
  }
}
/* 台式电脑显示器屏幕字体大小 */
@media screen and (min-width: 1440px) {
  .top {
    font-size: 20px;
    letter-spacing: 5px;
    padding: 10px;
  }
  .bottom {
    font-size: 36px;
  }
  #content {
    justify-content: space-between;
    align-items: center;
  }
}
</style>